package com.macrounion.atv.service.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.macrounion.atv.service.entity.Reg;
import com.macrounion.atv.service.mapper.RegMapper;
import com.macrounion.atv.service.mapper.RegMapperExt;
import com.macrounion.atv.service.service.RegService;
import com.macrounion.base.service.service.impl.BaseServiceImpl;

@Service
public class RegServiceImpl extends BaseServiceImpl<RegMapper, Reg> implements RegService {

	@Autowired
	private RegMapperExt regMapperExt;
	
	@Override
	public Reg selectByRegId(String regid) {
		// TODO Auto-generated method stub
		return regMapperExt.getByKey(regid);
	}
}